#!/bin/bash

cd ../src
rm -rf kakola.app
rm -f *.o
make clean
lupdate kakola.mac.pro
lrelease kakola.mac.pro
qmake kakola.mac.pro -spec macx-g++ -r || exit 1
make -f Makefile || exit 1
defaults write Info CFBundleIdentifier  com.kakola.kakola
